﻿@model Helper.Core.Entity.Sector

@{
    ViewBag.Title = "Criar";
    Layout = null;
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div style="margin: 10px 10px 10px 10px">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
        <div class="editor-label">
            Nome
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <p>
            <input type="submit" value="Criar" />
        </p>  
}
</div>